package com.hdu.lisener.test;


import com.hdu.lisener.core.EventListener;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class SendMessageApplicationListenerV2 {


    @EventListener(SendMessageEvent.class)
    public void onApplicationEvent(SendMessageEvent event) {
        log.info("start to send message v2 : {}", event);
    }
}
